package com.day03;

public class Person {
    private double height;
    private int weight;
    private String name;
    private int age;

    public Person() {
        System.out.println("空参被调用了");
    }

    public Person(String uname) {
        System.out.println("单参被调用了");
        name = uname;
    }

    public Person(double height, int weight, String name, int age) {
        System.out.println("全参被调用了");
        this.height = height;
        this.weight = weight;
        this.name = name;
        this.age = age;
    }
}
